
Pod::Spec.new do |s|
  s.name             = 'LYDevelopKit'
  s.version          = '0.0.9'
  s.summary          = 'iOS开发常用分类及工具方法'

  s.homepage         = 'https://gitee.com/LYRepoDemo/LYDevelopKit'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'liyang' => '18638835474@163.com' }
  s.source           = { :git => 'https://gitee.com/LYRepoDemo/LYDevelopKit', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  s.public_header_files = 'LYDevelopKit/Classes/LYDevelopKit.h'
  s.source_files = 'LYDevelopKit/Classes/LYDevelopKit.h'
  
  s.subspec 'Foundation' do |ss|
      ss.source_files = 'LYDevelopKit/Classes/Foundation/**/*'
      ss.public_header_files = 'LYDevelopKit/Classes/Foundation/**/*.h'
  end
  
  s.subspec 'UIKit' do |ss|
      ss.source_files = 'LYDevelopKit/Classes/UIKit/**/*'
      ss.public_header_files = 'LYDevelopKit/Classes/UIKit/**/*.h'
  end
  
  s.subspec 'Base' do |ss|
      ss.source_files = 'LYDevelopKit/Classes/Base/**/*'
      ss.public_header_files = 'LYDevelopKit/Classes/Base/**/*.h'
  end
  
  s.subspec 'Network' do |ss|
      ss.source_files = 'LYDevelopKit/Classes/Network/*.{h,m}'
      ss.public_header_files = 'LYDevelopKit/Classes/Network/**/*.h'
      ss.private_header_files = 'LYDevelopKit/Classes/Network/YTKNetworkPrivate.h'
      ss.dependency 'AFNetworking', '~> 3.2.1'
  end
  
  s.subspec 'HUD' do |ss|
      ss.source_files = 'LYDevelopKit/Classes/HUD/**/*'
      ss.public_header_files = 'LYDevelopKit/Classes/HUD/**/*.h'
      ss.dependency 'SVProgressHUD'
  end
  
  s.resource_bundles = {
    'LYDevelopKit' => ['LYDevelopKit/Assets/BarHUD.bundle']
  }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
